﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMM.Core.Entity.Shops
{
    [Table("RMM_Shop")]
    public class Shop : Entity<long>, ICreationAudited, IModificationAudited
    {
        /// <summary>
        /// 店家名称
        /// </summary>
        public string ShopName { get; set; }

        /// <summary>
        /// 开始营业时间
        /// </summary>
        public DateTime OpenBeginTime { get; set; }

        /// <summary>
        /// 结束营业时间
        /// </summary>
        public DateTime OpenEndTime { get; set; }

        /// <summary>
        /// 店铺地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 省份id
        /// </summary>
        public int ProvinceId { get; set; }

        /// <summary>
        /// 市id
        /// </summary>
        public int CityId { get; set; }

        /// <summary>
        /// 审核状态 0：正常 1：待审核 2：未通过审核 3：审核通过 
        /// </summary>
        public int ApprovalStatus { get; set; }

        /// <summary>
        /// 审核意见
        /// </summary>
        public string ApprovalRemake { get; set; }

        public int ProjectId { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public double Latitude { get; set; }

        /// <summary>
        /// 精度
        /// </summary>
        public double Longitude { get; set; }

        public string Mobile { get; set; }



        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
    }
}
